package com.cq.hd.system.api.vo;



import com.cq.hd.common.serialize.Decimal2Serializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class WithdrawalConfigVo implements Serializable {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "提现类型(1-商户本金，2-经纪人佣金，3-商户补贴)")
    private Integer withdrawalUserType;

    @ApiModelProperty(value = "资金账户类型(1:自建资金账户 2:平台资金账户)")
    private Integer financialAccountType;

    @ApiModelProperty(value = "起提金额")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal minAmt;

    @ApiModelProperty(value = "单次最高可提金额")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal singleMaxAmt;

    @ApiModelProperty(value = "单日可提次数")
    private Integer dayCount;

    @ApiModelProperty(value = "提现手续费")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal commission;

    @ApiModelProperty(value = "提现说明")
    private String description;

    @ApiModelProperty(value = "提现自动审核方式(1-人工审核，2-自动审核)")
    private Integer autoApprovalType;

    @ApiModelProperty(value = "自动审核提现金额")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal autoApprovalAmt;

}
